import { createApp } from 'vue'
import App from './App.vue'


import mitt from 'mitt'

import './assets/css/reset.less'


//事件订阅与发布
const Mitt = mitt()


declare module "vue" {
  export interface ComponentCustomProperties {
      $bus: typeof Mitt
  }
}


const app = createApp(App)

app.config.globalProperties.$bus = Mitt


app.mount('#app')
